package org.jmqtt.common.helper;

public class Pair<T,K> {
    private T processor;
    private K executor;

    public Pair(T processor, K executor) {
        this.processor = processor;
        this.executor = executor;
    }

    public T getProcessor() {
        return processor;
    }

    public void setProcessor(T processor) {
        this.processor = processor;
    }

    public K getExecutor() {
        return executor;
    }

    public void setExecutor(K executor) {
        this.executor = executor;
    }
}
